/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lauglog.util;

import java.util.Calendar;
import java.sql.*;

/**
 *
 * @author Kyle
 */
public class StaticData {
    private boolean completed;
    private Calendar day;
    private int eventId;
    
    public void setCompleted(int i){
        if(i == 0)
            this.completed = false;
        else
            this.completed = true;
    }
    
    public void setDay(Date d){
        Calendar c = Calendar.getInstance();
        c.setTime(d);
        this.day = c;
    }
    
    public void setEventId(int i){
        this.eventId = i;
    }
    
    public boolean getCompleted(){
        return completed;
    }
    
    public String getDay(){
        return day.get(day.MONTH)+"/"+day.get(day.DAY_OF_MONTH);
    }
    
    public int getEventId(){
        return eventId;
    }
}
